<!-- File: /app/View/users/view.ctp -->


<h1><?php echo 'Login: '.$user['User']['username']?></h1>

<div id="post_background">
	<div class="post_body">
		<p>
			<?php 
				echo '<p>Nickname: '.$user['User']['nickname'].'</p>';
				echo '<p>Email: '.$user['User']['email'].'</p>';
				echo '<p>Tipo: '.$user['User']['role'].'</p>';
				echo '<p>Usuario: '.$user['User']['username'].'</p>';
				echo '<p>Senha: '.$user['User']['password'].'</p>';
				
				echo $this->Html->link($this->Html->image('icons/ico/modify.ico',
                                            array("alt" => __('Edit'), "title" => __('Edit'),"width" => __('15'))), 
                                            array('action' => 'edit', $user['User']['id']), 
                                            array('escape' => false));
				echo $this->Form->postLink($this->Html->image('icons/ico/delete.ico',
                                            array("alt" => __('Delete'), "title" => __('Delete'),"width" => __('15'))), 
                                            array('action' => 'delete', $user['User']['id']),
                                            array('escape' => false),
				array('confirm' => 'Are you sure?'));
			
			?>
		</p>
	</div>
</div>